package com.qdc.datacenters.service.impl;

import com.qdc.datacenters.domain.entity.ChatMsgRuleMsg;
import com.qdc.datacenters.domain.query.rule.ChatMsgTimeoutListQuery;
import com.qdc.datacenters.domain.query.statistics.StatisticsQuery;
import com.qdc.datacenters.domain.query.statistics.TimeoutStatisticsQuery;
import com.qdc.datacenters.domain.vo.rule.GroupTimeoutListVo;
import com.qdc.datacenters.domain.vo.rule.SingleTimeoutListVo;
import com.qdc.datacenters.domain.vo.statistics.GroupTimeoutRankVo;
import com.qdc.datacenters.domain.vo.statistics.SingleTimeoutRankVo;
import com.qdc.datacenters.domain.vo.statistics.TimeoutStatisticsListVo;
import com.qdc.datacenters.mapper.ChatMsgRuleMsgMapper;
import com.qdc.datacenters.service.IChatMsgRuleMsgService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 超时规则会话表(ChatMsgRuleMsg)表服务实现类
 *
 * @author danmo
 * @since 2024-03-18 16:34:47
 */
@Service
public class ChatMsgRuleMsgServiceImpl extends BaseServiceImpl<ChatMsgRuleMsgMapper, ChatMsgRuleMsg> implements IChatMsgRuleMsgService {

    @Override
    public List<SingleTimeoutListVo> getSingleTimeOutList(ChatMsgTimeoutListQuery query) {
        return this.baseMapper.getSingleTimeOutList(query);
    }

    @Override
    public List<GroupTimeoutListVo> getGroupTimeOutList(ChatMsgTimeoutListQuery query) {
        return this.baseMapper.getGroupTimeOutList(query);
    }

    @Override
    public List<SingleTimeoutRankVo> singleTimeoutRank(StatisticsQuery query) {
        return this.baseMapper.singleTimeoutRank(query);
    }

    @Override
    public List<GroupTimeoutRankVo> groupTimeoutRank(StatisticsQuery query) {
        return this.baseMapper.groupTimeoutRank(query);
    }

    @Override
    public List<TimeoutStatisticsListVo> timeoutStatistic(TimeoutStatisticsQuery query) {
        return this.baseMapper.timeoutStatistic(query);
    }
}

